package com.example.springstudy.base.enume;

public enum DataScopeEnum {
    OWN(0,"自己"),
    ALL(1,""),
    DEPT_CHILD(2,"部门及以下"),
    DEPT_ONLY(3,"本部门"),
    CUSTOM(4, "自定义"),
    SHOP(5, "本店铺");
    private int type;
    private String desc;
    DataScopeEnum(int type, String s) {
        this.type = type;
        this.desc = s;
    }

    public int getType() {
        return type;
    }
    public String getDesc() {
        return desc;
    }
}
